class CreateMemorylanes < ActiveRecord::Migration
  def self.up
    create_table :memorylanes do |t|
      t.integer :user_id, :null => false
      t.integer :timeline_plugin_register_id, :null => false
      t.string :title
      t.string :description
      t.text :timeline_js
      t.string :allowed_friend_ids
      t.boolean :access_to_all_friends
      t.timestamps
    end
  end

  def self.down
    drop_table :memorylanes
  end
end
